package com.example.ware.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("dept")
public class Dept {
    @TableId(type = IdType.AUTO) // 声明自增主键
    private  Long id;
    private String name;
    private Long parentId;
    private String parentName;

    private String agen;
}
